flag=-o
.PHONY:all
all:process mytest test test2 test3 test4 test5
test:test.cpp
	g++ $(flag) $@ $^ -g
test2:test2.cpp
	g++ $(flag) $@ $^ -g
test3:test3.cpp
	g++ $(flag) $@ $^ -g
test4:test4.cpp
	g++ $(flag) $@ $^ -g
test5:test5.cpp
	g++ $(flag) $@ $^ -g 
process:process.cpp
	g++ $(flag) $@ $^ -g
mytest:mytest.cpp
	g++ $(flag) $@ $^ -g
.PHONY:clean
clean:
	rm -rf test test2 test3 test4 test5 process mytest
